tools/libelf: fix elf notes check for PVH guest
authorWei Liu <wei.liu2@citrix.com>
Thu, 11 Jan 2018 17:47:58 +0000 (17:47 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:34:04 +0000 (18:34 +0000)
commit2dd3e229494649fcf3309f8e2ccecece2a2d1685
tree5704144690e01cee54fc6b3aaf7af9899488bbc2
parent83d6b08b8b6d9fa8048cff44372ec0b877bcabb7
tools/libelf: fix elf notes check for PVH guest

PVH only requires PHYS32_ENTRY to be set. Return immediately if that's
the case.

Also remove the printk in pvh_load_kernel.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/dom0_build.c
xen/common/libelf/libelf-dominfo.c